package com.rondo.CurrencyFramework.serviceImpl;

import com.rondo.CurrencyFramework.dao.UserDao;
import com.rondo.CurrencyFramework.domain.User;
import com.rondo.CurrencyFramework.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author RWX
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> getUserList() {
        return userDao.getUserList();
    }

    @Override
    public List<User> getUserPageList() {
        return userDao.getUserPageList();
    }
}
